﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace ASEPMainProgram.Entities.MyLog
{
    /// <summary>
    /// 用户操作日志
    /// </summary>
    public class XinjeCloudOptLogEntity
    {
        /// <summary>
        /// 
        /// </summary>
        [Key, Required]
        [Column(TypeName = "int")]
        public int ID { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        [Required]
        [Column(TypeName = "bigint")]
        public long Time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Required]
        [Column(TypeName = "varchar(64)")]
        public string UserName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Required]
        [Column(TypeName = "varchar(64)")]
        public string UserId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(16)")]
        public string Phone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "text")]
        public string Context { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string ItemId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string RegGroupId { get; set; }
    }
}
